home *** CD-ROM | disk | FTP | other *** search
/ PC World 2008 April / PCWorld_2008-04_cd.bin / v cisle / oups / UpdateStar_Web_ENU.msi / UpdateXsl < prev    next >
Extensible Markup Language  |  2008-01-09  |  28KB  |  820 lines

  1. <?xml version="1.0" encoding="iso-8859-1"?>
  2. <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
  3.  
  4. <xsl:template match="updatesend/stylepath"></xsl:template>
  5. <xsl:template match="updatesend/language"></xsl:template>
  6. <xsl:template match="updatesend/largefont"></xsl:template>
  7. <xsl:template match="updatesend/partnerid"></xsl:template>
  8.  
  9.  
  10. <xsl:variable name="language"><xsl:value-of select="updatesend/language"/></xsl:variable>
  11. <xsl:variable name="largefont"><xsl:value-of select="updatesend/largefont"/></xsl:variable>
  12. <xsl:variable name="partnerid"><xsl:value-of select="updatesend/partnerid"/></xsl:variable>
  13. <xsl:variable name="stylepathorig"><xsl:value-of select="updatesend/stylepath"/></xsl:variable>
  14. <xsl:variable name="stylepath"><xsl:copy-of select="$stylepathorig"/>\img\</xsl:variable>
  15.  
  16.  
  17.  
  18. <xsl:variable name="iprodkey"><xsl:value-of select="updatesend/software/installed/prodkey"/></xsl:variable>
  19. <xsl:variable name="iid"><xsl:value-of select="updatesend/software/installed/id"/></xsl:variable>
  20. <xsl:variable name="iname"><xsl:value-of select="updatesend/software/installed/name"/></xsl:variable>
  21. <xsl:variable name="iversion"><xsl:value-of select="updatesend/software/installed/version"/></xsl:variable>
  22. <xsl:variable name="ipublisher"><xsl:value-of select="updatesend/software/installed/publisher"/></xsl:variable>
  23. <xsl:variable name="ilincense"><xsl:value-of select="updatesend/software/installed/license"/></xsl:variable>
  24. <xsl:variable name="irequirements"><xsl:value-of select="updatesend/software/installed/requirements"/></xsl:variable>
  25. <xsl:variable name="icontact"><xsl:value-of select="updatesend/software/installed/contact"/></xsl:variable>
  26. <xsl:variable name="ihelplink"><xsl:value-of select="updatesend/software/installed/helplink"/></xsl:variable>
  27. <xsl:variable name="itelephone"><xsl:value-of select="updatesend/software/installed/telephone"/></xsl:variable>
  28. <xsl:variable name="ireadme1"><xsl:value-of select="updatesend/software/installed/readme/display"/></xsl:variable>
  29. <xsl:variable name="ireadme2"><xsl:value-of select="updatesend/software/installed/readme/cmd"/></xsl:variable>
  30. <xsl:variable name="iupdates"><xsl:value-of select="updatesend/software/installed/updates"/></xsl:variable>
  31. <xsl:variable name="icomment"><xsl:value-of select="updatesend/software/installed/comment"/></xsl:variable>
  32. <xsl:variable name="idate"><xsl:value-of select="updatesend/software/installed/date"/></xsl:variable>
  33. <xsl:variable name="isize"><xsl:value-of select="updatesend/software/installed/size"/></xsl:variable>
  34.  
  35.  
  36. <xsl:variable name="idesciption"><xsl:value-of select="updatesend/software/installed/description"/></xsl:variable>
  37. <xsl:variable name="ishortdescr"><xsl:value-of select="updatesend/software/installed/shortdescr"/></xsl:variable>
  38. <xsl:variable name="icategory"><xsl:value-of select="updatesend/software/installed/category"/></xsl:variable>
  39. <xsl:variable name="ibuybuttons"><xsl:value-of select="updatesend/software/installed/BuyButtons"/></xsl:variable>
  40. <xsl:variable name="idownloadbuttons"><xsl:value-of select="updatesend/software/installed/DownloadButtons"/></xsl:variable>
  41.  
  42.  
  43.  
  44. <xsl:template match="updatesend/software/update/version"></xsl:template>
  45. <xsl:template match="updatesend/software/update/size"></xsl:template>
  46. <xsl:variable name="uversion"><xsl:value-of select="updatesend/software/update/version"/></xsl:variable>
  47. <xsl:variable name="usize"><xsl:value-of select="updatesend/software/update/size"/></xsl:variable>
  48.  
  49.  
  50.  
  51. <xsl:template match="updatesend/software">
  52. <html><head>
  53.  
  54. <xsl:element name="link">
  55.     <xsl:attribute name="href"><xsl:copy-of select="$stylepathorig"/>\style.css</xsl:attribute>
  56.     <xsl:attribute name="rel">stylesheet</xsl:attribute>
  57.     <xsl:attribute name="type">text/css</xsl:attribute>
  58. </xsl:element>
  59.  
  60. <xsl:if test="$largefont='yes'">
  61.     <style type="text/css">
  62.         td     {
  63.             font-size: 16px;
  64.         }
  65.         
  66.         td.desc{
  67.             font-size:13px;
  68.         }
  69.         td.normal{
  70.             font-size:13px;
  71.         }
  72.         a.sublink{
  73.             font-size:11px;
  74.             font-weight:bold;
  75.         }
  76.     </style>
  77. </xsl:if>
  78.  
  79. <!--
  80. <xsl:element name="SCRIPT">
  81.     <xsl:attribute name="language">JavaScript</xsl:attribute>
  82.     <xsl:attribute name="SRC"><xsl:copy-of select="$stylepathorig"/>\<xsl:copy-of select="$language"/>.js</xsl:attribute>
  83. </xsl:element>
  84.  
  85.  
  86. <xsl:element name="SCRIPT">
  87.     <xsl:attribute name="language">JavaScript</xsl:attribute>
  88.     <xsl:attribute name="SRC"><xsl:copy-of select="$stylepathorig"/>\slang.js</xsl:attribute>
  89. </xsl:element>
  90. -->
  91.  
  92.  
  93.  
  94. <xsl:element name="SCRIPT">
  95.     <xsl:attribute name="language">JavaScript</xsl:attribute>
  96. function translate(){
  97.     for (newalt in sfields) {
  98.         if(document.getElementById(newalt) ){
  99.             if(document.getElementById(newalt).alt){//image
  100.                 document.getElementById(newalt).alt=sfields[newalt];
  101.             }else if(document.getElementById(newalt).value == ""){//input
  102.                 document.getElementById(newalt).value=sfields[newalt];
  103.             }else{
  104.                 document.getElementById(newalt).innerHTML=sfields[newalt];//default div element
  105.             }
  106.         }
  107.  
  108.             if(document.getElementById(newalt + "_" + 0)){
  109.                 document.getElementById(newalt + "_" + 0).innerHTML=sfields[newalt];
  110.             }
  111.             
  112.             if(document.getElementById(newalt + "_" + 1)){
  113.                 document.getElementById(newalt + "_" + 1).innerHTML=sfields[newalt];
  114.             }
  115.             
  116.             if(document.getElementById(newalt + "_" + 2)){
  117.                 document.getElementById(newalt + "_" + 2).innerHTML=sfields[newalt];
  118.             }
  119.             
  120.             if(document.getElementById(newalt + "_" + 3)){
  121.                 document.getElementById(newalt + "_" + 3).innerHTML=sfields[newalt];
  122.             }
  123.             
  124.             if(document.getElementById(newalt + "_" + 4)){
  125.                 document.getElementById(newalt + "_" + 4).innerHTML=sfields[newalt];
  126.             }
  127.             
  128.             if(document.getElementById(newalt + "_" + 5)){
  129.                 document.getElementById(newalt + "_" + 5).innerHTML=sfields[newalt];
  130.             }
  131.                 
  132.         }
  133. }
  134.  
  135.  
  136. var sfields = new Array();
  137.  
  138. //start
  139. sfields["str_noupdate"]        = "No Updates Available";
  140. sfields["str_yesupdate"]    = "Updates Available!";
  141. sfields["str_lastscan"]        = "Last Update Scan:";
  142. sfields["str_foundprogs"]    = "Programs found:";
  143. sfields["str_foundupdates"]    = "Updates found:";
  144. sfields["searchbutton"]        = "Search for Updates";
  145. sfields["listbutton"]        = "Program List";
  146. sfields["str_availupdates"]    = "Updates Available:";
  147. sfields["str_availvers"]    = "Version:";
  148. sfields["str_availnews"]    = "News:";
  149.  
  150.  
  151. //details
  152. sfields["str_pname"]        = "Product name:";
  153. sfields["str_publisher"]    = "Publisher:";
  154. sfields["str_category"]     = "Category:";
  155. sfields["str_license"]         = "License:";
  156. sfields["str_irequirements"] = "System Requirements:";
  157. sfields["str_iversion"]     = "Installed Version:";
  158. sfields["str_uversion"]     = "Current Version:";
  159. sfields["str_management"]     = "Administration:";
  160. sfields["str_info"]         = "Info:";
  161. sfields["str_sdesc"]         = "Short description:";
  162. sfields["str_desc"]         = "Description:";
  163. sfields["str_download"]     = "Download";
  164. sfields["str_buynow"]         = "Buy now";
  165. sfields["str_buyfrom"]         = "from ";
  166. sfields["str_errlink"]         = "incorrect link";
  167. sfields["str_sendupdate"]     = "Send Update";
  168. sfields["sendupdate"]         = "Send Update";
  169. sfields["alt_uninstall"]    = "Uninstall ";
  170. sfields["alt_repair"]         = "Repair";
  171. sfields["alt_modify"]         = "Modify";
  172.  
  173. sfields["str_newstitle"]    = "Title";
  174. sfields["str_newsdata"]     = "Date";
  175.  
  176. sfields["str_comment"]     = "Your comments";
  177.  
  178.  
  179. sfields["str_updatetop"]     = "The UpdateStar database is maintained by the users, for the users. With your support the UpdateStar database stays up-to-date. Simply fill-in the corrected data in the online form and submit it to us. We will check your submission and update the database. Thank you for supporting UpdateStar!";
  180.  
  181.  
  182. </xsl:element>
  183.  
  184.  
  185.  
  186.  
  187.  
  188.  
  189. <xsl:if test="$language='1031'">
  190.     <script type="text/javascript">
  191.     
  192. //start
  193. sfields["str_noupdate"]        = "Keine Updates verfⁿgbar";
  194. sfields["str_yesupdate"]    = "Updates verfⁿgbar!";
  195. sfields["str_lastscan"]        = "Letzter Update-Scan:";
  196. sfields["str_foundprogs"]    = "Gefundene Programme:";
  197. sfields["str_foundupdates"]    = "Gefundene Updates:";
  198. sfields["searchbutton"]        = "Updates suchen";
  199. sfields["listbutton"]        = "Programmliste";
  200. sfields["str_availupdates"]    = "Verfⁿgbare Updates:";
  201. sfields["str_availvers"]    = "Aktuelle Version:";
  202. sfields["str_availnews"]    = "Verfⁿgbare Meldungen:";
  203.  
  204.  
  205. //details
  206. sfields["str_pname"]        = "Produktname:";
  207. sfields["str_publisher"]    = "Hersteller:";
  208. sfields["str_category"]     = "Produktkategorie:";
  209. sfields["str_irequirements"] = "Systemanforderungen:";
  210. sfields["str_license"]         = "Lizenz:";
  211. sfields["str_iversion"]     = "Installierte Version:";
  212. sfields["str_uversion"]     = "Aktuelle Version:";
  213. sfields["str_management"]     = "Verwaltung:";
  214. sfields["str_info"]         = "Info:";
  215. sfields["str_sdesc"]         = "Kurze Beschreibung:";
  216. sfields["str_desc"]         = "Beschreibung:";
  217. sfields["str_download"]     = "Download";
  218. sfields["str_buynow"]         = "Jetzt kaufen";
  219. sfields["str_buyfrom"]         = "von ";
  220. sfields["str_errlink"]         = "Link ist falsch";
  221. sfields["str_sendupdate"]     = "Update senden";
  222. sfields["sendupdate"]         = "Update senden";
  223. sfields["alt_uninstall"]    = "Deinstallieren ";
  224. sfields["alt_repair"]         = "Reparieren";
  225. sfields["alt_modify"]         = "─ndern";
  226.  
  227. //news
  228. sfields["str_newstitle"]    = "Titel";
  229. sfields["str_newsdata"]     = "Datum";
  230.  
  231. sfields["str_comment"]     = "Ihr Kommentar";
  232.  
  233. sfields["str_updatetop"]     = "Die UpdateStar-Programmdatenbank wird von Anwendern fⁿr Anwender gepflegt. Mit Ihrer Unterstⁿtzung helfen Sie allen anderen Anwendern, ihr Software-Setup auf dem neusten Stand zu halten. Bitte tragen Sie Ihre Korrekturen in das Web-Formular ein und senden diese an uns. Wir werden Ihre Aktualisierung schnellstm÷glich berⁿcksichtigen. Vielen Dank, dass Sie UpdateStar unterstⁿtzen!";
  234.  
  235.     </script>
  236. </xsl:if>
  237.  
  238.  
  239.  
  240.                     
  241.  
  242. </head>
  243.  
  244. <body onload="if(window.translate)translate(); ">
  245.  
  246.  
  247.  
  248.  
  249.  
  250.  
  251.  
  252.  
  253.  
  254.  
  255. <xsl:element name="SCRIPT">
  256.     <xsl:attribute name="language">JavaScript</xsl:attribute>
  257.  
  258. </xsl:element>
  259.  
  260.  
  261. <table border="0" cellpadding="0" cellspacing="0" width="100%">
  262.     <tr>
  263.         <td style="padding-left: 10px; padding-right:10px; padding-top:10px; padding-bottom:10px;" valign="top">
  264.  
  265. <table border="0" cellpadding="0" cellspacing="0" width="100%" >
  266.     <tr>
  267.         <td class="status_greenl" id="nameleft"><div id="str_sendupdate" style="display: inline;">.</div>: <xsl:copy-of select="$iname"/></td>
  268.         <td class="status_greenr" id="nameright">
  269.             <xsl:element name="img">
  270.                 <xsl:attribute name="src"><xsl:copy-of select="$stylepath"/>/tbl/shim.gif</xsl:attribute>
  271.                 <xsl:attribute name="width">19</xsl:attribute>
  272.                 <xsl:attribute name="height">23</xsl:attribute>
  273.             </xsl:element>
  274.         </td>
  275.     </tr>
  276. </table>
  277.  
  278. </td>
  279. </tr>
  280.  
  281. <tr>
  282. <td valign="top" style="padding-left: 10px; padding-right:10px;padding-top:10px; padding-bottom:10px;" >
  283.  
  284. <table border="0" cellpadding="0" cellspacing="0" width="100%">
  285.                         <tr>
  286.                             <td class="tl">
  287.                                 <xsl:element name="img">
  288.                                     <xsl:attribute name="src"><xsl:copy-of select="$stylepath"/>/tbl/shim.gif</xsl:attribute>
  289.                                     <xsl:attribute name="width">2</xsl:attribute>
  290.                                     <xsl:attribute name="height">2</xsl:attribute>
  291.                                 </xsl:element>
  292.                             </td><td class="tm" width="100%"></td>
  293.                             <td class="tr">
  294.                                 <xsl:element name="img">
  295.                                     <xsl:attribute name="src"><xsl:copy-of select="$stylepath"/>/tbl/shim.gif</xsl:attribute>
  296.                                     <xsl:attribute name="width">2</xsl:attribute>
  297.                                     <xsl:attribute name="height">2</xsl:attribute>
  298.                                 </xsl:element>
  299.                             </td>
  300.                         </tr>
  301.                         <tr>
  302.                             <td class="ml"></td>
  303.                             <td width="100%" class="wbox">
  304.  
  305.  
  306.  
  307.  
  308. <table border="0" cellpadding="0" cellspacing="0" width="100%" height="100%">
  309.     <tr>
  310.         <td valign="top">
  311.             <form id="uform" method="POST" action="http://www.updatestar.com/submit/update.php">
  312.             
  313.             <xsl:element name="input">
  314.                 <xsl:attribute name="type">hidden</xsl:attribute>
  315.                 <xsl:attribute name="name">iid</xsl:attribute>
  316.                 <xsl:attribute name="size">67</xsl:attribute>
  317.                 <xsl:attribute name="value"><xsl:copy-of select="$iid"/></xsl:attribute>
  318.             </xsl:element>
  319.  
  320.             <xsl:element name="input">
  321.                 <xsl:attribute name="type">hidden</xsl:attribute>
  322.                 <xsl:attribute name="name">iprodkey</xsl:attribute>
  323.                 <xsl:attribute name="value"><xsl:copy-of select="$iprodkey"/></xsl:attribute>
  324.             </xsl:element>
  325.             
  326.             
  327.             <xsl:element name="input">
  328.                 <xsl:attribute name="type">hidden</xsl:attribute>
  329.                 <xsl:attribute name="name">lang</xsl:attribute>
  330.                 <xsl:attribute name="value"><xsl:copy-of select="$language"/></xsl:attribute>
  331.             </xsl:element>
  332.             
  333.             <xsl:element name="input">
  334.                 <xsl:attribute name="type">hidden</xsl:attribute>
  335.                 <xsl:attribute name="name">branding</xsl:attribute>
  336.                 <xsl:attribute name="value"><xsl:copy-of select="$partnerid"/></xsl:attribute>
  337.             </xsl:element>
  338.             
  339.             
  340.             <xsl:element name="input">
  341.                 <xsl:attribute name="type">hidden</xsl:attribute>
  342.                 <xsl:attribute name="name">original_lang</xsl:attribute>
  343.                 <xsl:attribute name="value"><xsl:copy-of select="$language"/></xsl:attribute>
  344.             </xsl:element>
  345.             
  346.             <xsl:element name="input">
  347.                 <xsl:attribute name="type">hidden</xsl:attribute>
  348.                 <xsl:attribute name="name">sendform</xsl:attribute>
  349.                 <xsl:attribute name="value">true</xsl:attribute>
  350.             </xsl:element>
  351.             
  352.             
  353.                 <xsl:apply-templates />
  354.                 
  355.                 
  356.                 <table border="0" cellpadding="0" cellspacing="0">
  357.                             <tr>
  358.                                 <td>
  359.                                     <xsl:element name="img">
  360.                                         <xsl:attribute name="src"><xsl:copy-of select="$stylepath"/>buttons/start_left.gif</xsl:attribute>
  361.                                     </xsl:element>
  362.                                 </td>
  363.                                 <td class="startm">
  364.                                 <a href="javascript: document.getElementById('uform').submit();" class="buttonstart" id="sendupdate">.</a></td>
  365.                                 <td>
  366.                                     <xsl:element name="img">
  367.                                         <xsl:attribute name="src"><xsl:copy-of select="$stylepath"/>buttons/start_right.gif</xsl:attribute>
  368.                                     </xsl:element>
  369.                                 </td>
  370.                             </tr>
  371.                         </table>
  372.                 
  373.                 
  374.                 </form>        
  375.                 
  376.         <xsl:if test="update">
  377.             <script type="text/javascript">                
  378.                 document.getElementById('nameleft').className='status_redl';
  379.                 document.getElementById('nameright').className='status_redr';
  380.             </script>
  381.         </xsl:if>
  382.             
  383.     </td></tr>
  384. </table>
  385.  
  386.  
  387.                         </td>
  388.                             <td class="mr"></td>
  389.                         </tr>
  390.                         <tr>
  391.                             <td class="ml"></td>
  392.                             <td valign="top" class="wbox">
  393.                                 <xsl:element name="img">
  394.                                     <xsl:attribute name="border">0</xsl:attribute>
  395.                                     <xsl:attribute name="align">right</xsl:attribute>
  396.                                     <xsl:attribute name="src"><xsl:copy-of select="$stylepath"/>star.gif</xsl:attribute>
  397.                                 </xsl:element>
  398.                             </td>
  399.                             <td class="mr"></td>
  400.                         </tr>
  401.                         <tr>
  402.                             <td class="bl">
  403.                                 <xsl:element name="img">
  404.                                     <xsl:attribute name="src"><xsl:copy-of select="$stylepath"/>/img/tbl/shim.gif</xsl:attribute>
  405.                                     <xsl:attribute name="width">2</xsl:attribute>
  406.                                     <xsl:attribute name="height">2</xsl:attribute>
  407.                                 </xsl:element>
  408.                             </td>
  409.                             <td class="bm"></td>
  410.                             <td class="br">
  411.                                 <xsl:element name="img">
  412.                                     <xsl:attribute name="src"><xsl:copy-of select="$stylepath"/>/img/tbl/shim.gif</xsl:attribute>
  413.                                     <xsl:attribute name="width">2</xsl:attribute>
  414.                                     <xsl:attribute name="height">2</xsl:attribute>
  415.                                 </xsl:element>
  416.                             </td>
  417.                         </tr>
  418.                     
  419.                     </table>
  420.         </td>
  421.     </tr>
  422. </table>
  423.  
  424. </body>
  425. </html>
  426.  
  427. </xsl:template>
  428.  
  429.  
  430.  
  431.  
  432.  
  433.  
  434.  
  435.  
  436.  
  437.  
  438.  
  439. <xsl:template match="installed">
  440.             
  441.     <table border="0" cellpadding="0" cellspacing="5" width="100%">
  442.  
  443.         <TR>
  444.             <TD width="150">
  445.                 <xsl:element name="img">
  446.                     <xsl:attribute name="src"><xsl:copy-of select="$stylepath"/>/tbl/cshim.gif</xsl:attribute>
  447.                     <xsl:attribute name="width">150</xsl:attribute>
  448.                     <xsl:attribute name="height">1</xsl:attribute>
  449.                 </xsl:element>
  450.             </TD>
  451.             <TD width="100%"></TD>
  452.         </TR>
  453.         
  454.         
  455.         <TR><TD colspan="2" class="normal"><div id="str_updatetop" style="margin-bottom:20px;">.</div></TD></TR>
  456.         
  457.         <TR><TD class="desc"><div id="str_pname">.</div></TD>
  458.         <TD class="normal">
  459.  
  460.             <xsl:element name="input">
  461.                 <xsl:attribute name="type">text</xsl:attribute>
  462.                 <xsl:attribute name="name">iname</xsl:attribute>
  463.                 <xsl:attribute name="size">67</xsl:attribute>
  464.                 <xsl:attribute name="value"><xsl:copy-of select="$iname"/></xsl:attribute>
  465.             </xsl:element>
  466.             <xsl:element name="input">
  467.                 <xsl:attribute name="type">hidden</xsl:attribute>
  468.                 <xsl:attribute name="name">original_iname</xsl:attribute>
  469.                 <xsl:attribute name="value"><xsl:copy-of select="$iname"/></xsl:attribute>
  470.             </xsl:element>
  471.         </TD></TR>
  472.         
  473.         
  474.         
  475.         <TR><TD class="desc"><div id="str_publisher">.</div></TD>
  476.         <TD class="normal">
  477.             <xsl:element name="input">
  478.                 <xsl:attribute name="type">text</xsl:attribute>
  479.                 <xsl:attribute name="name">ipublisher</xsl:attribute>
  480.                 <xsl:attribute name="size">67</xsl:attribute>
  481.                 <xsl:attribute name="value"><xsl:copy-of select="$ipublisher"/></xsl:attribute>
  482.             </xsl:element>
  483.             <xsl:element name="input">
  484.                 <xsl:attribute name="type">hidden</xsl:attribute>
  485.                 <xsl:attribute name="name">original_ipublisher</xsl:attribute>
  486.                 <xsl:attribute name="value"><xsl:copy-of select="$ipublisher"/></xsl:attribute>
  487.             </xsl:element>
  488.         </TD></TR>
  489.         
  490.         
  491.         
  492.         <TR><TD class="desc"><div id="str_category">.</div></TD>
  493.         <TD class="normal">
  494.             <xsl:element name="input">
  495.                 <xsl:attribute name="type">text</xsl:attribute>
  496.                 <xsl:attribute name="name">icategory</xsl:attribute>
  497.                 <xsl:attribute name="size">67</xsl:attribute>
  498.                 <xsl:attribute name="value"><xsl:copy-of select="$icategory"/></xsl:attribute>
  499.             </xsl:element>
  500.             <xsl:element name="input">
  501.                 <xsl:attribute name="type">hidden</xsl:attribute>
  502.                 <xsl:attribute name="name">original_icategory</xsl:attribute>
  503.                 <xsl:attribute name="value"><xsl:copy-of select="$icategory"/></xsl:attribute>
  504.             </xsl:element>
  505.         </TD></TR>
  506.         
  507.         
  508.         <TR><TD class="desc"><div id="str_irequirements">.</div></TD>
  509.         <TD class="normal">
  510.             <xsl:element name="input">
  511.                 <xsl:attribute name="type">text</xsl:attribute>
  512.                 <xsl:attribute name="name">irequirements</xsl:attribute>
  513.                 <xsl:attribute name="size">67</xsl:attribute>
  514.                 <xsl:attribute name="value"><xsl:copy-of select="$irequirements"/></xsl:attribute>
  515.             </xsl:element>
  516.             <xsl:element name="input">
  517.                 <xsl:attribute name="type">hidden</xsl:attribute>
  518.                 <xsl:attribute name="name">original_irequirements</xsl:attribute>
  519.                 <xsl:attribute name="value"><xsl:copy-of select="$irequirements"/></xsl:attribute>
  520.             </xsl:element>
  521.         </TD></TR>
  522.         
  523.         
  524.         
  525.         <TR><TD class="desc"><div id="str_license">.</div></TD>
  526.         <TD class="normal">
  527.             <xsl:element name="input">
  528.                 <xsl:attribute name="type">text</xsl:attribute>
  529.                 <xsl:attribute name="name">ilincense</xsl:attribute>
  530.                 <xsl:attribute name="size">67</xsl:attribute>
  531.                 <xsl:attribute name="value"><xsl:copy-of select="$ilincense"/></xsl:attribute>
  532.             </xsl:element>
  533.             <xsl:element name="input">
  534.                 <xsl:attribute name="type">hidden</xsl:attribute>
  535.                 <xsl:attribute name="name">original_ilincense</xsl:attribute>
  536.                 <xsl:attribute name="value"><xsl:copy-of select="$ilincense"/></xsl:attribute>
  537.             </xsl:element>
  538.         </TD></TR>
  539.         
  540.         
  541.         <xsl:if test="not($iversion='')">
  542.             <TR>
  543.                 <TD class="desc"><div id="str_iversion">.</div></TD>
  544.                 <TD class="normal">
  545.                     <xsl:element name="input">
  546.                         <xsl:attribute name="type">text</xsl:attribute>
  547.                         <xsl:attribute name="name">iversion</xsl:attribute>
  548.                         <xsl:attribute name="size">67</xsl:attribute>
  549.                         <xsl:attribute name="value"><xsl:copy-of select="$iversion"/></xsl:attribute>
  550.                     </xsl:element>
  551.                     <xsl:element name="input">
  552.                         <xsl:attribute name="type">hidden</xsl:attribute>
  553.                         <xsl:attribute name="name">original_iversion</xsl:attribute>
  554.                         <xsl:attribute name="value"><xsl:copy-of select="$iversion"/></xsl:attribute>
  555.                     </xsl:element>
  556.                 </TD>
  557.             </TR>
  558.         </xsl:if>
  559.         
  560.         <xsl:if test="not($uversion='')">
  561.             <TR>
  562.                 <TD class="desc"><div id="str_uversion">.</div></TD>
  563.                 <TD class="normal">
  564.                     <xsl:element name="input">
  565.                         <xsl:attribute name="type">text</xsl:attribute>
  566.                         <xsl:attribute name="name">uversion</xsl:attribute>
  567.                         <xsl:attribute name="size">67</xsl:attribute>
  568.                         <xsl:attribute name="value"><xsl:copy-of select="$uversion"/></xsl:attribute>
  569.                     </xsl:element>
  570.                     <xsl:element name="input">
  571.                         <xsl:attribute name="type">hidden</xsl:attribute>
  572.                         <xsl:attribute name="name">original_uversion</xsl:attribute>
  573.                         <xsl:attribute name="value"><xsl:copy-of select="$uversion"/></xsl:attribute>
  574.                     </xsl:element>
  575.                 </TD>
  576.             </TR>
  577.         </xsl:if>
  578.         
  579.         <xsl:if test="$uversion=''">
  580.             <TR>
  581.                 <TD class="desc"><div id="str_uversion">.</div></TD>
  582.                 <TD class="normal">
  583.                     <xsl:element name="input">
  584.                         <xsl:attribute name="type">text</xsl:attribute>
  585.                         <xsl:attribute name="name">uversion</xsl:attribute>
  586.                         <xsl:attribute name="size">67</xsl:attribute>
  587.                         <xsl:attribute name="value"><xsl:copy-of select="$iversion"/></xsl:attribute>
  588.                     </xsl:element>
  589.                     <xsl:element name="input">
  590.                         <xsl:attribute name="type">hidden</xsl:attribute>
  591.                         <xsl:attribute name="name">original_uversion</xsl:attribute>
  592.                         <xsl:attribute name="value"><xsl:copy-of select="$iversion"/></xsl:attribute>
  593.                     </xsl:element>
  594.                 </TD>
  595.             </TR>
  596.         </xsl:if>
  597.         
  598.         
  599.         
  600.         
  601.         <TR><TD class="desc"><div id="str_sdesc">.</div></TD>
  602.         <TD class="normal">
  603.             <xsl:element name="input">
  604.                 <xsl:attribute name="type">text</xsl:attribute>
  605.                 <xsl:attribute name="name">ishortdescr</xsl:attribute>
  606.                 <xsl:attribute name="size">67</xsl:attribute>
  607.                 <xsl:attribute name="value"><xsl:copy-of select="$ishortdescr"/></xsl:attribute>
  608.             </xsl:element>
  609.             <xsl:element name="input">
  610.                 <xsl:attribute name="type">hidden</xsl:attribute>
  611.                 <xsl:attribute name="name">original_ishortdescr</xsl:attribute>
  612.                 <xsl:attribute name="value"><xsl:copy-of select="$ishortdescr"/></xsl:attribute>
  613.             </xsl:element>
  614.         </TD>
  615.         </TR>
  616.         
  617.                                 
  618.         
  619.         
  620.         
  621.         <TR><TD class="desc"><div id="str_desc">.</div></TD>
  622.         <TD class="normal">
  623.             <xsl:element name="textarea">
  624.                 <xsl:attribute name="name">idesciption</xsl:attribute>
  625.                 <xsl:attribute name="rows">10</xsl:attribute>
  626.                 <xsl:attribute name="cols">67</xsl:attribute>
  627.                 <xsl:copy-of select="$idesciption"/>
  628.             </xsl:element>
  629.             <xsl:element name="input">
  630.                 <xsl:attribute name="type">hidden</xsl:attribute>
  631.                 <xsl:attribute name="name">original_idesciption</xsl:attribute>
  632.                 <xsl:attribute name="value"><xsl:copy-of select="$idesciption"/></xsl:attribute>
  633.             </xsl:element>
  634.         </TD>
  635.         </TR>
  636.         
  637.         
  638.         
  639.         <xsl:for-each select="InfoButtons">
  640.             <xsl:if test="InfoButton">
  641.                 <TR><TD class="desc"><div id="str_info">.</div></TD><TD><TABLE border="0" cellpadding="0" cellspacing="0"><TR><xsl:apply-templates/></TR></TABLE></TD></TR>
  642.             </xsl:if>
  643.         </xsl:for-each>
  644.  
  645.  
  646.  
  647.         
  648.         
  649.         <xsl:for-each select="DownloadButtons">
  650.             <xsl:if test="DownloadButton">
  651.                 <TR><td class="desc"><div id="str_download">.</div></td><TD><TABLE border="0" cellpadding="0" cellspacing="0"><xsl:apply-templates/></TABLE></TD></TR>
  652.             </xsl:if>
  653.         </xsl:for-each>
  654.         
  655.         
  656.         
  657.         
  658.         
  659.         <xsl:for-each select="BuyButtons">
  660.             <xsl:if test="BuyButton">
  661.                 <TR><td class="desc"><div id="str_buynow">.</div></td><TD><TABLE border="0" cellpadding="0" cellspacing="0"><xsl:apply-templates/></TABLE></TD></TR>
  662.             </xsl:if>
  663.         </xsl:for-each>
  664.         
  665.  
  666.         
  667.         
  668.  
  669.         
  670.         
  671.         <TR><TD class="desc"><div id="str_comment">.</div></TD>
  672.         <TD class="normal">
  673.             <xsl:element name="textarea">
  674.                 <xsl:attribute name="name">comment</xsl:attribute>
  675.                 <xsl:attribute name="rows">5</xsl:attribute>
  676.                 <xsl:attribute name="cols">67</xsl:attribute>
  677.             </xsl:element>
  678.         </TD>
  679.         </TR>
  680.         
  681.     
  682.         
  683.         
  684.         
  685.         
  686.         
  687.     </table>
  688.  
  689. </xsl:template>
  690.  
  691.  
  692.  
  693.  
  694.  
  695.  
  696.  
  697.  
  698. <xsl:template match="updatesend/software/installed/name"></xsl:template>
  699.  
  700. <xsl:template match="updatesend/software/installed/version"></xsl:template>
  701. <xsl:template match="updatesend/software/installed/publisher"></xsl:template>
  702. <xsl:template match="updatesend/software/installed/contact"></xsl:template>
  703. <xsl:template match="updatesend/software/installed/helplink"></xsl:template>
  704. <xsl:template match="updatesend/software/installed/telephone"></xsl:template>
  705. <xsl:template match="updatesend/software/installed/readme/display"></xsl:template>
  706. <xsl:template match="updatesend/software/installed/readme/cmd"></xsl:template>
  707. <xsl:template match="updatesend/software/installed/updates"></xsl:template>
  708. <xsl:template match="updatesend/software/installed/comment"></xsl:template>
  709. <xsl:template match="updatesend/software/installed/date"></xsl:template>
  710. <xsl:template match="updatesend/software/installed/size"></xsl:template>
  711.  
  712. <xsl:template match="updatesend/software/installed/repair"></xsl:template>
  713.  
  714.  
  715.  
  716.  
  717.  
  718.  
  719.  
  720.  
  721.  
  722.  
  723.  
  724.  
  725. <xsl:template match="InfoButton">    
  726.     <TR>
  727.         <TD class="normal">
  728.             <xsl:element name="input">
  729.                 <xsl:attribute name="type">text</xsl:attribute>
  730.                 <xsl:attribute name="name">InfoButton_URL[]</xsl:attribute>
  731.                 <xsl:attribute name="size">67</xsl:attribute>
  732.                 <xsl:attribute name="value"><xsl:value-of select="Url"/></xsl:attribute>
  733.             </xsl:element>
  734.             <xsl:element name="input">
  735.                 <xsl:attribute name="type">hidden</xsl:attribute>
  736.                 <xsl:attribute name="name">original_InfoButton_URL[]</xsl:attribute>
  737.                 <xsl:attribute name="value"><xsl:value-of select="Url"/></xsl:attribute>
  738.             </xsl:element>
  739.         </TD>
  740.     </TR>
  741. </xsl:template>
  742.  
  743.  
  744.  
  745.  
  746.  
  747.  
  748. <xsl:template match="DownloadButton">
  749.     <TR>
  750.         <TD class="normal">
  751.             <xsl:element name="input">
  752.                 <xsl:attribute name="type">text</xsl:attribute>
  753.                 <xsl:attribute name="name">DownloadButton_URL[]</xsl:attribute>
  754.                 <xsl:attribute name="size">67</xsl:attribute>
  755.                 <xsl:attribute name="value"><xsl:value-of select="Url"/></xsl:attribute>
  756.             </xsl:element>
  757.             <xsl:element name="input">
  758.                 <xsl:attribute name="type">hidden</xsl:attribute>
  759.                 <xsl:attribute name="name">original_DownloadButton_URL[]</xsl:attribute>
  760.                 <xsl:attribute name="value"><xsl:value-of select="Url"/></xsl:attribute>
  761.             </xsl:element>
  762.         </TD>
  763.     </TR>
  764. </xsl:template>
  765.  
  766.  
  767.  
  768.  
  769.  
  770.  
  771.  
  772.  
  773. <xsl:template match="BuyButton">
  774.     <TR>
  775.         <TD class="normal">
  776.             
  777.             <xsl:element name="input">
  778.                 <xsl:attribute name="type">text</xsl:attribute>
  779.                 <xsl:attribute name="name">BuyButton_URL[]</xsl:attribute>
  780.                 <xsl:attribute name="size">67</xsl:attribute>
  781.                 <xsl:attribute name="value"><xsl:value-of select="Url"/></xsl:attribute>
  782.             </xsl:element>
  783.             <xsl:element name="input">
  784.                 <xsl:attribute name="type">hidden</xsl:attribute>
  785.                 <xsl:attribute name="name">original_BuyButton_URL[]</xsl:attribute>
  786.                 <xsl:attribute name="value"><xsl:value-of select="Url"/></xsl:attribute>
  787.             </xsl:element>
  788.             
  789.             
  790.             
  791.             <xsl:if test="DisplayName">
  792.                 <xsl:element name="a">
  793.                     <xsl:attribute name="href">javascript:window.external.OpenURL('<xsl:value-of select="Url"/>');</xsl:attribute>
  794.                     <xsl:attribute name="style">text-decoration:none;</xsl:attribute>
  795.                 <font color="#000000">
  796.                     <xsl:element name="div">
  797.                         <xsl:attribute name="style">display: inline;</xsl:attribute>
  798.                         <xsl:attribute name="id">str_buyfrom_<xsl:number level="single" count="BuyButton" format="1" /></xsl:attribute>
  799.                         .
  800.                     </xsl:element>
  801.                 </font>
  802.                 <xsl:value-of select="DisplayName"/>
  803.             </xsl:element>
  804.         </xsl:if>
  805.         </TD>
  806.         <TD> </TD>
  807.     </TR>
  808. </xsl:template>
  809.  
  810.  
  811.  
  812.  
  813.  
  814.  
  815.  
  816.  
  817.  
  818.  
  819. </xsl:stylesheet>
  820.